﻿//
// GNS_ManageRecord.h
// MobileManageSys
//FuncTion  管理记录
// Created by mr.l on 16/1/14.
//
//

#ifndef __MobileManageSys__GNS_ManageRecord__
#define __MobileManageSys__GNS_ManageRecord__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_Calendar.h"
#include "GNS_MakeLayer.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

class GNS_ManageRecord : public Layer
{
public:
    GNS_ManageRecord();
    ~GNS_ManageRecord();
    static GNS_ManageRecord* createLayer();
    virtual bool init();
    CREATE_FUNC(GNS_ManageRecord);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void TimeButtonCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void ShowManageDate();
private:
    Node * pGNS_ManageRecord;
    Text * TimeText;
    int year;
    GNS_Calendar * pCalendar;
    GNS_MakeLayer * pMakeLayer;
    ListView * pListView;
};

#endif /* defined(__MobileManageSys__GNS_ManageRecord__) */